home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Direct Draw 1.xpl < prev    next >
Text File  |  2003-11-19  |  4KB  |  96 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="5"
  4. "UIPATH"="Program Options\Built in Windows Apps\DirectX"
  5. "NAME"="Direct Draw 1"
  6. "OSVERSION"="1011111"
  7. "VERSION"="1.03"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="ForceNoSysLock"
  10. "TEXT 2"="DisableNoSysLock"
  11. "TEXT 3"="DisableMMX"
  12. "TEXT 4"="DisableWiderSurfaces"
  13. "TEXT 5"="EnablePrintScreen"
  14. "DESCRIPTION 1"="Enables [Checked Box] or disables [Cleared Box] NoSysLock on Lock for lower resolution 3D video modes."
  15. "DESCRIPTION 2"="Enables [Cleared Box] or disables [Checked Box] NoSysLock on Lock for lower resolution 3D video modes."
  16. "DESCRIPTION 3"="Enables [Cleared Box] or disables [Checked Box] use of MMX extensions on supported CPUs. MMX supporting CPUs consist of all Intel CPUs newer than the Pentium MMX & those from AMD (K6 or newer). This can yield improved performance on such systems."
  17. "DESCRIPTION 4"="Enables [Cleared Box] or disables [Checked Box] 3D Wide Surfaces support on newer/faster PCI/AGP video controllers that support this feature, like: 3dfx Banshee/Voodoo3/Voodoo4/Voodoo5, NVidia TNT/TNT2/GeForce/Quadro, S3 Savage, Matrox G200/G400, ATI Rage/Fury/MAXX etc."
  18. "DESCRIPTION 5"="Enables [Checked Box] or disables [Cleared Box] the use of the Print Screen key to capture current window/full screen, which can then be pasted & saved as JPG/BMP/GIF/etc into any OLE2 capable graphics program like MS Paint, Adobe Photo Shop, JASC Paint Shop Pro, IrfanView, XNview, LView Pro etc."
  19. "AUTHOR"="Ojatex@aol.com"
  20. "CONTACTURL"="http://members.aol.com/ojatex/"
  21. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  22. "COMMENT 1"=" "
  23. "COMMENT 2"="These tweaks for Direct Draw courtesy of Axcel216@aol.com. See http://users.aol.com/axcel216/newtip18.htm#DXTWK."
  24.  
  25.  
  26. Sub Plugin_Initialize 
  27.  i=RegReadValue("HKLM\Software\Microsoft\DirectDraw\ForceNoSysLock")
  28.  if i=1 then SetUIElement 1,true
  29.  
  30.  i=RegReadValue("HKLM\Software\Microsoft\DirectDraw\DisableNoSysLock")
  31.  if i=1 then SetUIElement 2,true
  32.  
  33.  i=RegReadValue("HKLM\Software\Microsoft\DirectDraw\DisableMMX")
  34.  if i=1 then SetUIElement 3,true
  35.  
  36.  i=RegReadValue("HKLM\Software\Microsoft\DirectDraw\DisableWiderSurfaces")
  37.  if i=1 then SetUIElement 4,true
  38.  
  39.  i=RegReadValue("HKLM\Software\Microsoft\DirectDraw\EnablePrintScreen")
  40.  if i=1 then SetUIElement 5,true
  41. End Sub
  42.  
  43.  
  44. Sub Plugin_CheckData(ElementIndex)
  45. End Sub
  46.  
  47.  
  48.  
  49. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  50.  b=GetUIElement(1)
  51.  if b=true then
  52.   Call RegWriteValue("HKLM\Software\Microsoft\DirectDraw\ForceNoSysLock","1",2)
  53.  else
  54.   Call RegWriteValue("HKLM\Software\Microsoft\DirectDraw\ForceNoSysLock","0",2)
  55.  end if
  56.  
  57. b=GetUIElement(2)
  58.  if b=true then
  59.   Call RegWriteValue("HKLM\Software\Microsoft\DirectDraw\DisableNoSysLock","1",2)
  60.  else
  61.   Call RegWriteValue("HKLM\Software\Microsoft\DirectDraw\DisableNoSysLock","0",2)
  62.  end if
  63.  
  64.  b=GetUIElement(3)
  65.  if b=true then
  66.   Call RegWriteValue("HKLM\Software\Microsoft\DirectDraw\DisableMMX","1",2)
  67.  else
  68.   Call RegWriteValue("HKLM\Software\Microsoft\DirectDraw\DisableMMX","0",2)
  69.  end if
  70.  
  71. b=GetUIElement(4)
  72.  if b=true then
  73.   Call RegWriteValue("HKLM\Software\Microsoft\DirectDraw\DisableWiderSurfaces","1",2)
  74.  else
  75.   Call RegWriteValue("HKLM\Software\Microsoft\DirectDraw\DisableWiderSurfaces","0",2)
  76.  end if
  77.  
  78. b=GetUIElement(5)
  79.  if b=true then
  80.   Call RegWriteValue("HKLM\Software\Microsoft\DirectDraw\EnablePrintScreen","1",2)
  81.  else
  82.   Call RegWriteValue("HKLM\Software\Microsoft\DirectDraw\EnablePrintScreen","0",2)
  83.  end if
  84.  
  85.  
  86.  
  87.  
  88. End Sub
  89.  
  90.  
  91. Sub Plugin_Terminate 
  92. End Sub
  93.  
  94.  
  95.  
  96.